[INFO] cloning repository https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moamedosama931/advent_of_code_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f2556497e914fefecb98f2671994f5ac4859260
[INFO] checking moamedosama931/advent_of_code_2022_rust against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] finished tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust
[INFO] tweaked toml for git repo https://github.com/moamedosama931/advent_of_code_2022_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moamedosama931/advent_of_code_2022_rust on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moamedosama931/advent_of_code_2022_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54b7be4abf7cc41ea0b615654767d7422a68caf3d6a7cf785bb4e8b9ba9364ca
[INFO] running `Command { std: "docker" "start" "-a" "54b7be4abf7cc41ea0b615654767d7422a68caf3d6a7cf785bb4e8b9ba9364ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54b7be4abf7cc41ea0b615654767d7422a68caf3d6a7cf785bb4e8b9ba9364ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54b7be4abf7cc41ea0b615654767d7422a68caf3d6a7cf785bb4e8b9ba9364ca", kill_on_drop: false }`
[INFO] [stdout] 54b7be4abf7cc41ea0b615654767d7422a68caf3d6a7cf785bb4e8b9ba9364ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 710550b1f371c20443928a05798938b4ec9bd062f1d3f216cc3622bb2ae86992
[INFO] running `Command { std: "docker" "start" "-a" "710550b1f371c20443928a05798938b4ec9bd062f1d3f216cc3622bb2ae86992", kill_on_drop: false }`
[INFO] [stderr]     Checking advent_of_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2a.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         result += (total_score as usize);
[INFO] [stdout] 23 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2b.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -         result += (total_score as usize);
[INFO] [stdout] 21 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1a.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1b.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day2/day2a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/day2/day2a.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines<BufReader<File>> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2a.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         result += (total_score as usize);
[INFO] [stdout] 23 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day2/day2b.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         result += (total_score as usize);
[INFO] [stdout]    |                   ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -         result += (total_score as usize);
[INFO] [stdout] 21 +         result += total_score as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1a.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day1/day1b.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solution` is never used
[INFO] [stdout]  --> src/day2/day2a.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn solution() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/day2/day2a.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines<BufReader<File>> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "710550b1f371c20443928a05798938b4ec9bd062f1d3f216cc3622bb2ae86992", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "710550b1f371c20443928a05798938b4ec9bd062f1d3f216cc3622bb2ae86992", kill_on_drop: false }`
[INFO] [stdout] 710550b1f371c20443928a05798938b4ec9bd062f1d3f216cc3622bb2ae86992
